package com.glasses.manage.auth.dto;

import com.glasses.manage.core.annotation.Label;

import java.sql.Timestamp;

/**
 * Created by Administrator on 2017-11-01.
 */
public class OrdersDto {

    @Label("主键ID")
    private Long id;
    @Label("订单单号")
    private String orderCode;
    @Label("客户名称")
    private String userName;
    @Label("商品名称")
    private String goodName;
    @Label("收货人")
    private String consignee;
    @Label("收货电话")
    private String telphone;
    @Label("收货地址")
    private String shopAddress;
    @Label("备注")
    private String remarks;
    @Label("数量")
    private Integer amount;
    @Label("订单日期")
    private Timestamp orderDate;
    @Label("付款方式")
    private String payType;
    @Label("订单状态")
    private String orderType;
    @Label("是否[逻辑删除]可用：1.可用 0.禁用")
    private String recStatus;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getShopAddress() {
        return shopAddress;
    }

    public void setShopAddress(String shopAddress) {
        this.shopAddress = shopAddress;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Timestamp getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Timestamp orderDate) {
        this.orderDate = orderDate;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getRecStatus() {
        return recStatus;
    }

    public void setRecStatus(String recStatus) {
        this.recStatus = recStatus;
    }

    @Override
    public String toString() {
        return "OrdersDto{" +
                "id=" + id +
                ", orderCode='" + orderCode + '\'' +
                ", userName='" + userName + '\'' +
                ", goodName='" + goodName + '\'' +
                ", consignee='" + consignee + '\'' +
                ", telphone='" + telphone + '\'' +
                ", shopAddress='" + shopAddress + '\'' +
                ", remarks='" + remarks + '\'' +
                ", amount=" + amount +
                ", orderDate=" + orderDate +
                ", payType='" + payType + '\'' +
                ", orderType='" + orderType + '\'' +
                ", recStatus='" + recStatus + '\'' +
                '}';
    }
}
